package com.by.component.shortlink.mapper;

import com.by.component.shortlink.ShortLink;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 短链接(ShortLink)表数据库访问层
 *
 * @author YanBingHao
 * @since 2024-01-15 16:50:26
 */
public interface ShortLinkMapper extends BaseMapper<ShortLink> {

    Long shortKeyRelaId(@Param("shortKey") String shortKey);

    String oriVal(@Param("shortKey") String shortKey);

}
